package com.sqx.modules.indentTimeRecord.entity;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 *
 * 加时记录
 *
 * @author wuChang
 * @since 2024-05-22
 */
@Data
@TableName("indent_time_record")
public class IndentTimeRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 记录id
     */
    @ApiModelProperty("记录id")
    @TableId(value = "record_id", type = IdType.AUTO)
    private Long recordId;

    /**
     * 订单id
     */
    @ApiModelProperty("订单id")
    private Long indentId;

    /**
     * 时间配置id
     */
    @ApiModelProperty("时间配置id")
    private Long timeId;

   /**
     * 分钟数
     */
    @ApiModelProperty("分钟数")
    private Integer time;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;


}
